Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | define(['leaflet'], function (L) { |
||
5 | initialize: function (latlng) { |
||
6 | this.accuracyCircle = L.circle(latlng, 0, config.locate.accuracyCircle); |
||
7 | this.outerCircle = L.circleMarker(latlng, config.locate.outerCircle); |
||
8 | L.CircleMarker.prototype.initialize.call(this, latlng, config.locate.innerCircle); |
||
9 | |||
10 | this.on('remove', function () { |
||
11 | this._map.removeLayer(this.accuracyCircle); |
||
12 | this._map.removeLayer(this.outerCircle); |
||
13 | }); |
||
14 | }, |
||
15 | |||
33 |